package com.woniuxy.health.report.service;

import com.woniuxy.health.commons.entity.Package;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value ="health-project")
@Repository
public interface PackageService {

    @GetMapping("package/all")
    List<Package> findAllPackages();
}
